//
//  YMPickerSelectView.h
//  scale
//
//  Created by 李钰 on 16/9/7.
//  Copyright © 2016年 李钰. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol YMPickerSelectViewDelegate<NSObject>
@optional
- (void)pickerViewSelectSource:(NSArray *)source;//选中的数据（数据模型的下标）
- (void)pickerViewSelectSource:(NSArray *)source AndModel:(id)model;//选中的数据
@end
@interface YMPickerSelectView : UIView
@property (nonatomic,assign)BOOL blackScreen;//是否需要黑屏背景
@property (nonatomic,strong)UILabel * labelTitle;//标题
@property (nonatomic,weak)id<YMPickerSelectViewDelegate>delegate;
@property (nonatomic,strong)id model;//需要传递的模型
@property (nonatomic,strong)UIView * blackBg;//背景
#pragma mark -普通键盘样式 力量类型
- (id)initWithDataParentSource:(NSArray *)source AndRowHeight:(CGFloat)rowHeight;//数据源source @[@[str],@[str]]

- (void)showCustomLineWithColor:(UIColor *)color;
- (void)show;
- (void)setSelectIndexs:(NSArray *)selectIndexs;//默认选中间
@end
